package zb.demo.bean;

import java.util.Date;

/**
 * 文件上传到服务器，获取文件属性信息
 */
public class FileUploadBean {
    private String pk_id;
    private String fk_id;//需要关联的id（如果文件需要跟其他表字段关联，需要这个id，这里演示并没有用到过）
    private String fileOName;//文件原始名
    private String fileCurName;//文件现有名称（给文件重新取名，防止乱码或文件重名等）
    private String realPath;//相对路径
    private String suffix;//文件后缀,如：jpg  rar  zip等
    private Long size;//文件大小 单位为字节 b
    private String uploadDate;//上传时间
    private String ip;//ip地址
    private String bz;//备注

    public String getRealPath() {
        return realPath;
    }

    public String getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(String uploadDate) {
        this.uploadDate = uploadDate;
    }

    public void setRealPath(String realPath) {
        this.realPath = realPath;
    }

    public String getPk_id() {
        return pk_id;
    }

    public void setPk_id(String pk_id) {
        this.pk_id = pk_id;
    }

    public String getFk_id() {
        return fk_id;
    }

    public void setFk_id(String fk_id) {
        this.fk_id = fk_id;
    }

    public String getFileOName() {
        return fileOName;
    }

    public void setFileOName(String fileOName) {
        this.fileOName = fileOName;
    }

    public String getFileCurName() {
        return fileCurName;
    }

    public void setFileCurName(String fileCurName) {
        this.fileCurName = fileCurName;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }
}
